interface IObj {
    name: string,
    age: number,
    location?: string, //可选属性
    [propName: string]: any
}

var obj: IObj = {
    name: "张三",
    age: 20
}

export default{}